package com.earl.gsm.domain.gsm.equipment;

import java.io.Serializable;

import javax.persistence.Table;

import com.earl.gsm.commons.domain.AbstractAuditingEntity;
import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "RepositoryInfo")
public class ChangeEquipTable extends AbstractAuditingEntity<Long> implements Serializable {

	// 器材更换表id
	private Long id;

	// 器材更换 器材/数量 （key-value)
	private String changeOption;

	// 总价
	private float priceSum;

	// 负责人
	private String principal;

	// 更换时间
	private String changeTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getChangeOption() {
		return changeOption;
	}

	public void setChangeOption(String changeOption) {
		this.changeOption = changeOption;
	}

	public float getPriceSum() {
		return priceSum;
	}

	public void setPriceSum(float priceSum) {
		this.priceSum = priceSum;
	}

	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	public String getChangeTime() {
		return changeTime;
	}

	public void setChangeTime(String changeTime) {
		this.changeTime = changeTime;
	}

	@Override
	public String toString() {
		return "ChangeEquipTable [id=" + id + ", changeOption=" + changeOption + ", priceSum=" + priceSum
				+ ", principal=" + principal + ", changeTime=" + changeTime + "]";
	}

}
